Two-Dimensional Periodicity in Rectangular Arrays

نویسندگان

  • Amihood Amir
  • Gary Benson
چکیده

String matching is rich with a variety of algorithmic tools. In contrast, multidimensional matching has had a rather sparse set of techniques. This paper presents a new algorithmic technique for two-dimensional matching: periodicity analysis. Its strength appears to lie in the fact that it is inherently two-dimensional. Periodicity in strings has been used to solve string matching problems. Multidimensional periodicity, however, is not as simple as it is in strings and was not formally studied or used in pattern matching. In this paper, we define and analyze two-dimensional periodicity in rectangular arrays. One definition of string periodicity is that a periodic string can self-overlap in a particular way. An analogous concept is true in two dimensions. The self-overlap vectors of a rectangle generate a regular pattern of locations where the rectangle may originate. Based on this regularity, we define four categories of periodic arrays—nonperiodic, lattice periodic, line periodic, and radiant periodic—and prove theorems about the properties of the classes. We give serial and parallel algorithms that find all locations where an overlap originates. In addition, our algorithms find a witness proving that the array does not self-overlap in any other location. The serial algorithm runs in time O(m2) (linear time) when the alphabet size is finite, and in O(m2 logm) otherwise. The parallel algorithm runs in time O(logm) using O(m2) CRCW processors.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Periodicity in Rectangular Arrays

We discuss several two-dimensional generalizations of the familiar Lyndon-Schützenberger periodicity theorem for words. We consider the notion of primitive array (as one that cannot be expressed as the repetition of smaller arrays). We count the number of m×n arrays that are primitive. Finally, we show that one can test primitivity and compute the primitive root of an array in linear time.

متن کامل

Extraordinary transmission and left-handed propagation in miniaturized stacks of doubly periodic subwavelength hole arrays.

Metallic plates embedded between dielectric slabs and perforated by rectangular arrays of subwavelength holes with a dense periodicity in one of the directions support extraordinary transmission (ET) phenomena, viz. strong peaks in the transmittance frequency dependence. Stacks of such perforated plates support ET phenomena with propagation along the stack axis that is characterized by the left...

متن کامل

On periodicity of two-dimensional words

A two-dimensional word is a function on Z with finite number of values. The main problem we are interested in is periodicity of twodimensional words satisfying some local conditions. In this paper we prove that every bounded centered function on the infinite rectangular grid is periodic. A function is called centered if the sum of its values in every ball is equal to 0. Similar results are obta...

متن کامل

Design Investigation of Microstrip Patch and Half-Mode Substrate Integrated Waveguide Cavity Hybrid Antenna Arrays

In this paper two linear arrays including a linear 1×4 and a planar 2×2 of microstrip patch and half-mode substrate integrated waveguide (SIW) cavity hybrid antenna are introduced and investigated. These are simply implemented using low cost single layer printed circuit board (PCB) process. The array element consists of a rectangular microstrip patch with appropriate dimensions in the vicinity ...

متن کامل

Hysteresis and Fractional Matching in Thin Nb Films with Rectangular Arrays of Nanoscaled Magnetic Dots

We have investigated the periodic pinning of magnetic flux quanta in thin Nb films with rectangular arrays of magnetic dots. In this type of pinning geometry, a change in the periodicity and shape of the minima in the magnetoresistance occurs for magnetic fields exceeding a certain threshold value. This has been explained recently in terms of a reconfiguration transition of the vortex lattice d...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • SIAM J. Comput.

دوره 27  شماره 

صفحات  -

تاریخ انتشار 1998